home *** CD-ROM | disk | FTP | other *** search
- Undocumented features of Microsoft QuickBASIC 2.0, 2.01 & 3.0
-
- 1. EGA 43-line mode:
-
- QB2 and QB2.01 will work in EGA 43-line mode. Using the MODE43.COM
- program that came with QB3, I was able to run the editors of the
- previous version in EGA 43-line mode. All 43 lines are available for
- editing purposes. On the other hand, the execution and debug screens
- only use the top 25 lines of the 43 available.
-
- MODE43 switches the EGA into 43-line mode via Function 11h of the
- BIOS VIDEO interrupt 10h.
-
- 2. /F switch:
-
- Syntax: qb /f filename
- or
- qb filename /f
-
- This switch is equivalent to the "EXE" compile option. It will
- compile your source directly to an executable file. The runtime
- module, BRUNxxxx.EXE, is needed to run the executable file. Other
- switches can be used with /F. Please note that the semi-colon
- normally required to compile via the command line is NOT required in
- this case.
-
- This switch bypasses the LINK step usually needed when compiling
- programs via the command line. I find this very useful when using
- the MASM MAKE utility to re-compile program modules.
-
- 3. /Z switch:
-
- Syntax: qb /z filename
-
- This switch is equivalent to the "MEMORY" compile option. It will
- compile your source to memory and run it. Other switch can be used
- with /Z. As above, the semi-colon is not required. Please note the
- syntax. It appears that switching the filename and the /Z switch
- around does not work as it does with /F.
-
- 4. /N and /P switches:
-
- These switches are looked for by QB when parsing the command line and
- appear to be ignored.
-
- 5. Metacommands:
-
- ALL of the metacommands from pre-2.0 versions of QB can be used with
- the later versions. The only metacommands mentioned in the QB2
- manual are $INCLUDE, $DYNAMIC and $STATIC. All of the other
- metacommands are parsed from the program source and partially
- processed. However, it appears that the only one that does anything
- meaningful is $MODULE. $MODULE allows you to specify a name of the
- compiled OBJ file other than the default, usually the same name as
- the main source file.
-
-
- If any other undocumented features of QuickBASIC (any version) have been found,
- I would greatly appreciate hearing about them.
-
- Michael Addy
- [74017,2437]
-